package stream;

import java.util.List;

public class Class {

    /**
     * 班级名称
     */
    private String name;

    /**
     * 学生
     */
    private List<Student> students;

    public Class(String name, List<Student> sudents) {
        this.name = name;
        this.students = sudents;
    }

    public String getName() {
        return name;
    }
    public List<Student> getStudents() {
        return students;
    }
    public void setName(String name) {
        this.name = name;
    }
    public void setStudents(List<Student> students) {
        this.students = students;
    }
}
